/**
 * 
 */
package binderon.com.bo;

import binderon.com.model.BaseModel;

/**
 * @author Nehemia
 *
 */
public interface BaseBO {
	/**
	 * 
	 * @param bean
	 * @return
	 */
	public abstract BaseModel save(BaseModel bean);

	/**
	 * 
	 * @param bean
	 *            the bean to update
	 * @return the bean
	 */
	public abstract BaseModel update(BaseModel bean);

	/**
	 * 
	 * @param bean
	 *            the bean to delete
	 */
	public abstract void delete(BaseModel bean);

	/**
	 * 
	 * @param id
	 * @return null or the record
	 */
	public abstract BaseModel getById(String id);

}
